fix base tag implementation