cleaning logs & unused code