fix profile truncation