resolved the NULL issue..on empty values in db