Added a fix that should help on some hosting providers