[v3.4] #940 fix custom prompt

resolves #940 on `release-v3.4`
alright I'll change it