fixing broken permalinks and update css