fixed the flaots