move line of code inside the only branch it can happen in