changed flags margin