add if statment to plot if no obs. errors