improved layout of flags