fixed parsing of fetched profile