corrected plotting bounds