Fixed profile deletion probelm