removed unnecessary exit listener readded callbacks