restoring value_as for temporary fix of from_diag complex pb