fix advertising and layout