cleanup source code