fix service class check; custom classes work now again