prevented duplicate math answers