minor changes

bug fixes