fix getBoundary #43