fixed overflow issue in ie and some firefox versions