remove useless from layout