minor bug changes