Fixed some warnings in modifyrole action