fixed a minor error that was giving me extra warnings