fix another type error related to List.contains
cleanup
verify response codes