fixed 400 error