fixed get quote bug