fix "vane server" command crash
clean up view context