minor  fixes