prepare init args with command line
also render views that is invisible  when rendering model
improve coding style