Fixed a bug on login menu