support double proxy types