Fixed empty string exception where numeric value expected