Remove erronious code