fix layout/stylesheet bug