reduce size of plugins