Fixed some annoying logging