added paste removal