Here's how I connected the MAX795 chip. Is this correct??

It works completely random with random glitches but it almost never works and I'm really out of ideas... At least BA6162 chip worked fine but unfortunately I ran out of them and I only have MAX795 right now that doesn't work. Here's the datasheet just for the convenience:
https://datasheets.maximintegrated.com/ ... AX795T.pdf
Anyone have any kind of suggestions?? Please for reply. Many thanks in advance!!