Fix format check class