Fix an error in paste.create