little clean and fixed some permissions