fixed bug

float error