iMac has no space after removing windows disk partition
So I've had windows on my 21 inch iMac 2017 since July of 2019 and so far it was good, until I decided to remove the windows partition. When I had removed it, I removed the partition using the button for it in disk utility from the HDD(which is supposed to have 1 TB) and when I had removed the partition for windows, the HDD had only 399 GB on it. When I had run the command "diskutil list" in terminal here's what popped up.
I am a bit worried since the partition is completely gone and when I restarted the computer it booted into a blue windows error screen.
iMac 21.5" 4K, macOS 10.14