bugfix, missing $log_id