Removed ambiguous reference to length()