Corrected a simple copy past error that duplicated some lines