Fixed NumberFormatException issue by replacing nbsp (ASCII 160) characters