fix typo so disconnect hook works