fixed invalid address struct length being passed