updated dynamic input view to actually work