Fixed plot 3 errors