Fixes problem with profile id