fix for check class