fix for empty profiles