modify the register way
Merge branch 'master' of github.com:SunshineLibrary/mothership-core