fix getMessage when waitSeconds == 0 to not show log