some minor fix for distribution package