Fixed delete (closes #14)