Make sure that any dash in the prefix before the version number is removed.