fix formatting for defect permission