add log for empty id