apply context to processor