possibly fixed memory issue with firefox