fixes for older vim versions