bugfix path compress