load attribute before using it