Fix information printing function