added couple of methods for replacing nulls and removing quotes