fixing cannot access to protected messages from closure