Little fix

fix what seems to be a copy/paste mistake and one little requirement on a plugin