adding sanity check when loading master node