save some values for debug