remove dirty code