fixed the CGFLoat on 64bit issue