rename config lib
fix a bug on plugin resources normalization