Fixed Bug on PUT and DELETE