fixed option deletion.