remove ref from web init api call of aws_create_instance