Fix retrieve profile