fix deploy file mode