Fix plugin view errors.