fixed registry files and started to fix #16.