add permission denied case