add resources class to fix build