fix to chmod