Fix that typecast