misc compile warning cleanup