fix redirect bug in inline entry form