check for bugs affecting attributes, overwritten by misnamed elements references