bug fix: crop params get messy since array delete_at i+1 deletes wrong element