weird post validation behavior