minor fixes to suppress build-time warnings