fixed a resolver issue #291