fixed type casting