minor cleanup of explode