added a new method to load a string or return null from a cursor