removed a duplicated line of code