fixed issue with generic element calls