remove lock and dependancies