adding missing @inject
dealing with null method from request (strange, but it happens)