Fixed setting null exc