small fix for safari 6