srv being used before assignment