fix the bug of first installation