Fixed posting form on refresh