prepare quote problem fix