remove unecessary layouts