added check dependencies for delete functionality added to all modules