bugfix for dynamically loading content