check integrity of plugins before loading