Fix shared api