hook_check checks now for array params