fix a bug login param not passing