Fixed wrong parameter name and iterator
Fixed error when setting status code of tornado response