fix ambiguous return