force persistent mode. move props declaration to avoid a compiler warning