fix bug in method handle