workaround for gvim stuck problem