fixed @in, @out stuff in graph