Fixed several apis and issues in goose