header and triplets fixes