restyle and chmod issue