remove uneeded layout