fix duplicate initialization