fixed shitty self made bug