minore changes to compile