Very ugly fix.