remove redundant permissions and add some white space