fixed warnings from Norbert's compiler