Wreck causes chemical spill