Minimize flags in mobile