Fix incorrect addr type