tried to fix weird glitch thing