Remove useless layouts