fixed app master host name bug