some fixes for the latest version of powerline