fixed some profile rendering issues