store handler result in context