fixed redirect after publishing home page for the first time