Delete unnesccesary layouts