add config for home-ubuntu
fix some bugs