fix demo layout issues