fix details duplication problem