debug - added error_log