empty string check is added