fixed floatbuf buffer pointer bug