Fixed prompt value handling (ref #213)