added table variable to fields in photoalbums model