Fixed issue with home page trying to get post