Fix call deleted profile function. references #2214