added debugging for semantic error