added possiblity to disable attribute checking exceptions