Fixed duplicate endpoint