fix dumb bugs