fixed problem with compilation