fix custompost