fixed terminal prompt issue