convert "" and '' values to None