fix ID[expression] check