Unable to add data with method "addData". Fixed