I got a new SSD (samsung 870) and connected it to my mb with sata. After i couldnt fix the problem i sent it back and got a new one with the same problem. I think it's a software issue because my other ssd works fine on the same cables and ports. Thanks for the help.