some seed and photo model fixes