fix percent prompt issue