Fixes debug lines