now api works fine