handle different case of names