Changing the hash from suffix to prefix when pretty name used