[~] fix generate init file