Fixed issue where page would not load