Fixed typo that broke error_cleanup