fixed bug triggered when opening fresh vim