fixed parsing bug with with-plugins option