fixing srv generation