added trailing slash to permalinks.