fixed null deal issue