fix login length