bug with lib dir