fix site not loading on initial request