Fixed plugin preference bug