fixed #1290
removed diag_log