fixing apistats, and working on getting exif as well