remove unuseful sql script
modify option delete function

ORIG: data maybe a list, should use for loop to delete.