fixes onfeature submit/remove