fix bug with removing solutions with numerical error