clean up 'check'