fixed the wrong use of the local variable style