fixed behavior of right-upper button.