fixed logging bug for real this time? So silly