Minor fix in bend_init where handle wasn't set to NULL when