fix profile alignment #349