fix file mode