removed outdated register listener call