fix the bug of processing result