Fixed some broken flags