good night

two small bug fixes