fix problem of duplicate id 'pass' for validation