fixed libraries are not loaded properly.