remove unrelated source code