fix for firefox, ie 10