Hopefully fixes a bug.