fix bug : head pop
send response optimize