fix for fetching schools and licences