fixed; do not trigger hooks when already active

closed #10
release 0.2.2