resolve #328