fixed bug in revision - refs were local but tutorids were global