flagrate.Modal: fixed bug