fix removing things from database and html page