check  is defined before listening
release 0.1.28