fix GET POST @Method, fix bug due to symfony migration 2.5