fixed firefox style compatibility issue