trying to fix weird right gap bug glitch