How to solve common defects in traditional foaming process