Fix exception - Use of uninitialized value in addition on line 189