Fix apipie config