fixing dynamic mode again