bug when creating a quote