fixed permalink and sharing