fixing compilation erros -- sorry