modify handle connect frame