solved bug of missing lib dir