fix compiler errors
fix test compiler errors