fixed small erros