Add support for deleting profile by name
fix small conflict