fix config rights