consistency in byRef assignments

some places `=&` is used, while other places `= &` is used.