Fixed semantic error