small changes for compilation