added check for when null value returns String null