simple fix with init_app function

when initialized with init_app, api browser breaks.