[INTERNAL] flags changed to bool