remove a spurious recursive let