check all params in main class