// Fixed potential warning in logs