correction of 'out_of_range' exception in calcinterpreter