Fix profile parsing error