typo, php warning on role processing