minor cleanup, get rid of core dump in vim