turned of debug mode for api