Fix adding cell to environment