fixed minor erros