Fixed bug in POSTs