Missed some codes...

Forgot to add some code from a past bug fix i did on my end.