fixed bug causing script to crash on computers