fixed type test error