personal commit 22

fixed error that was found when I tested the script.