Fixed bug

thatll teach me to copypaste