fix python daemon dependency
fix indentation
fix fs bugs