[core] bugfixes and convert to new defaults system
float_cmp fixes