fix some bugs and remove some apps