[fix bug 912221] Delete profile does not work