[bare_design] write stl fix