fix buttons' bug in Firefox, #70