finish _parseCondition function