fixed minor errors