clean some codes.

I will take the tab demo out of the repository.