added ref checks for school and gtk-perl