solving rendering issues in profile