fixed null decision bug