creating and getting studyareas now works properly