fix a few silly bugs