Fixes undefined flags error