small fix to increase precision