removnig unnecessary application locks