Bugfix -- crashing due to float value