fixed issue with page not rendering