fix in create_server_path: insert at the head of the list, instead of append