Fix complier errors