Fix bug until save profile