remove useless class and layout