use array delete instead of simple delete
Merge pull request #345 from rhomobile/use-array-delete

use array delete instead of simple delete