add more flags for debug