Fix some prompt bugs.