improve setting and hehavior of API