fixed POST errors