fixed a button bug in ff