Bug fixex (convert float to int)