floating point numbers selection fix