fixing minor erros