fix regression introduced with d3b68fe685e3049b4b6ff4bc07d471bba35e1810: monitor doesn't work