need to clean up the error listeners