fixed small problems.