Handleing the case of permalink missing.