Fixes
Add exception if empty name in reverse method