minor chagnes for debug