fix double scanning of plugins