remove deprecated call by reference
Merge pull request #596 from fermionic/20130129-call-by-reference-error

remove deprecated call by reference