fix ambiguous error