removes useless chmod