#940 fix custom prompt

Resolves #940 on `master`