Fixes header

-This error also caused the plugin and LGM to segfault.