removed copy header & copy scheama, calling them breaks reference creation