fix linter code if the expression has no righthand side