Remove some unused code

good night sweet prince