Fix wrong deletion