fixed clip calculation after role modification