fix bug with adding plants