changed LWT_NULL marco