clean
generalize scan result