change service type int to float.