raw was not set in the clone function