fix bug in context for manageSubjects