check if mapleader exists. fixes #2