reset style and view