fixed setting permission