fix query number error and target monitor time issue