bug fix: remove curly brace from setDynamicContent