handle empty var type