small bug fixes I saw when I ran before work today