remove debug prints
parse tenantName if it's there