Vray texture mapping not in same direction


Hello
i am having this problem with texture mapping as im trying to apply brick pbr material to the building facade

i need them to be vertically arranged in all wall surfaces but when i test them out it turns out the front wall and side wall are each vertical and horizontal

i have searched up numerous solutions to this and yet to resolve

how should i be able to fix this problem?