adapt remove to webapp