fixed up compilation