fix post handler