fixes POSTing of new routes