Removing not needed layouts