i'm dumb, was doing unessecary casting