Fix errors in prolexis plugin