fix ios profile rendering issue.