to delete index-1 of custom var