Fixed PHP warning: Deprecated function: Call-time pass-by-reference has been deprecated