attempt to fix prompt width bug