fixed duplicate error