update front and back sides' layout to preventing bad cutting