Programming error

Just had to fix sample_plugin a bit...