Decrease premission level and fix newline bug