Fix bug with save role