fix some warning messages issue on installing