Fix adding elements