fixed firefox overflow bug