FIX: issue #532 (Runtime error 9: float invalid operation)