A generation of ghost-hunting master Zhang Ke came to Hong Kong from Beijing with two apprentices Zhang Beiping and Zhang Nanjing because of avoiding the war .