fix layout demo