fix directory register after renaming
Merge pull request #46 from ameli90/develop

fix class register after renaming