encountered a mega weird bug and have no clue how to fix, might take a while