fixed bug where names were not downcased