debug file fix