fix checkout require