wrong log declaration fixed