fix meta data to save on session