fix indent and declaration module method