fixed typo in except clause