added dealer type/tier nil checks