Fixed null pointer when parsing floats