fixes a stupid bug