Fixed small bug in saveFig