fixes a bug by being an actual genius