make the ActionBlockService work with 2.1 and 2.2 (fixes #34)