fix minor errors