fix test compile error