fix bug: prompt doesn't change