cleanup scan