work around na Strict Standards: Only variables should be passed by reference