remove some bad-idea functions