fix faulty permission