Bug with debugging line fixed