handle empty profiles