added support for preprocess controllers