the issue is the output stage is inverting