Fixcompile errors