only one parse number helper

replaced parseNumber with parseNullNumber function