fixing issue with form POSTs