remove lock and dependencies