fix bug: NOT GET methold will cause a seg fault
update