Fixed missing variable
Enable exception