Fix address type error