fixed problems with ambiguity