fix post data registration