Fix paste creation method