Fixed the bug with missing profiles.