fixing permalinks, styles