fix main and deps