fixed 400s errors