clean up. bug fix for firefox. hopefully. #78.