fix adding data