fixed reordering bug with radicals