minor fixes and comments related to logging and deprecation