fixed dumb way of making loading page