change guid generation, set default value to client_id