Fabrication of a novel cantilever-based device by release the stress in a reliable way