fixes wrong attribute