fix input in firefox