#66 fixed routes generation

To solve #66