Effect of foreign ions for the determination of metal ion in the presence of surfactants