fix file mode
fix link