complier errors fixed