fix type Exception