adjusted for firefox