fixes Wils' stupid mistakes