fix "has no method 'del'"