fixes pass-by-copy bug in oF prototype