Dynamic inputs fixed.

see #585