Fix "Notice: Only variable references should be returned by refer"