Remove debugging thing and echo error to stderr