fix some dumb bugs