prevent listening multiple times