bug fixes, camera working, but not to save