up release and remove unused ts var