fix stuff for firefox