remove checkcast