fix redundant variable initializer