fixed error in compile