fixed log msg typo
modified global status query