fixed bug involving route http method constraint