Fixed error that occurs when website is down for maintainance