fix 'isMaster' command