fixes api post