remove the other unused typecaster