fixed issue with Firefox (actually issue in general)