removed redundant diagnostics query