hectic changes for the inline fomrset for photo and story model