small attr bug fixed (no is_inputs)