whoops, fix try-except syntax