fix a MasterPass issue running on ubuntu 

Signed-off-by: Jinggit <jingghster@gmail.com>