Fix plugin energy