clean up and formated photos