fix typo. fork hostprinciple to masterprinciple to take care host principle of master host.