Hack workaround for a bug.