fix some behaviours on TreeManager
[fix] remaining vhost field sent to database