Semantic error fixed