fixes previous commit: requestcontext now properly detected