Fixed inherited attributes bug