corrections in inheritProperties
corrections in the method inheritProperties