update and fix compiler errors