My Wordpress form only shows up after hitting refresh