minor bug patches