fix dynamic constant assignment #2