fixes post validation