fixing issue #12

Mismatch b/w blank string ("") and NULL pointers