Fixed some problems.