Registered listener and commented out errors