fix api for global settings