Fixing sitephoto and siteinfo init of datatypedef