Fix dead code