Never mind guys...I have fixed this
after 2 months I have finally figured out how to fix it
what I did is:
turn the modem off
turn it back on
turn off the wifi
turn the modem off
turn it on again
turn the wifi on
believe it or not that actually fixed it
I really have no idea what's wrong with my modem lol.