bug in multi-line prompt