fixing post data