delete lock stuff