fix libraries layout messed up

fix #174