clear some codes