fix some core and libraries class