fixed assignation in prepare address