step variable type from int to float, bug fixed