cloning output goes to null