delete useless cast