minor bugfix and packaging