about to use EDI instead of EBP + EDI
procedure finally working
working well