I fixed a bug

Yea, not sure if it did anything but it did fix a error :)