fixed issue with profile not rendering properly