fix overflow issue firefox