Fixed endpoint duplicatePlugin