Fixed minor issues with profile.