save image was directed to wrong path;corrected