fix api for non instance calls