fix bug boot script