fix path input pre-populated with [Object object]

dynamic typing -_-