fixed profile extraction from settings