fix potential bug for create
update mptl.js for change of ndbc method