#81 Permalink settings issue

- bug fixes