Workaround for a dumb variable replacement