improve geometry output