fixed overflow firefox bug