bugfix: login failed due to layout change.