add paramer check for dealer