finally fixed this fucking directive