added html attributes in base component + fixes