Pattack Exception + fix something in file

Signed-off-by: Pouyan Heyratpour <P.Heyratpour@Gmail.Com>