fixed some address type related bugs