work correctly with templar