Figured it out. I had changed this line of code on accident and that caused the whole issue. Sorry for the confusion