Fix a few fucking careless bugs.