fix button text display bug