Fix public flag