modify next/pre role method