fix wrong attribute path