fixex erros in packages