fix adding problem