Fixed 'NumberFormatException' error in StatUtilities