fixing white space in leader keys.