Redesign for optocouplers