fix profile with with empty data
extract profile to new file