cleaned up debug log a little bit