get paste operation only in paste handler