Fixed bug by repeating a line of code