added topic listener to make active