corrected conversion of GSI to float instead of integer