fix bug in firefox css