fix semantics check for index access