Fix auto register
Fix version