Check if sel==null first when block commenting