fixed ambiguous code; travis test failed.