fixed a couple issues.