Fixed issue with profile refresh