fixed reset floating bug