Issue with debug must investigate further