verify check invalid code fix