Fix copying into hash descriptor