fixed bug with publishing new geometry