check if quotes exists before displaying