fix function to create network bridge