api flag
small fix