Fixed problem with dynamic content