further check code, clear used ones