fix buttons to work in firefox