fix model debug