fixed explicit cast schema and copy destination