added a try-except
fixed a typo: dowload --> download