Fixed Theis' stupid code errors.